Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3] feat(twap): add generic trade form validation to TWAP #2592

Merged
merged 31 commits into from
Jun 6, 2023

Conversation

shoom3301
Copy link
Collaborator

@shoom3301 shoom3301 commented Jun 2, 2023

@vercel
Copy link

vercel bot commented Jun 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
swap-dev 🔄 Building (Inspect) Visit Preview

🌃 Cosmos ↗︎

shoom3301 added 6 commits June 2, 2023 16:41
…to feat/2417-1

# Conflicts:
#	src/modules/tradeFormValidation/pure/TradeFormButtons/index.tsx
…into feat/2417-2

# Conflicts:
#	src/modules/limitOrders/containers/TradeButtons/index.tsx
@shoom3301 shoom3301 changed the title Feat/2417 2 feat(twap): add generic trade form validation to TWAP Jun 2, 2023
@shoom3301 shoom3301 requested a review from a team June 2, 2023 11:41
@shoom3301 shoom3301 changed the title feat(twap): add generic trade form validation to TWAP [3] feat(twap): add generic trade form validation to TWAP Jun 2, 2023
@shoom3301 shoom3301 self-assigned this Jun 2, 2023
@shoom3301 shoom3301 added the TWAP label Jun 2, 2023
@shoom3301 shoom3301 marked this pull request as ready for review June 2, 2023 11:43
shoom3301 added 4 commits June 2, 2023 17:46
… feat/2417

# Conflicts:
#	src/modules/swap/containers/SwapWidget/index.tsx
…to feat/2417-1

# Conflicts:
#	src/legacy/hooks/useWrapCallback.ts
#	src/modules/swap/hooks/useSwapButtonContext.ts
}
const tradeFormButtonContext = useTradeFormButtonContext('Limit order', { doTrade: handleTrade, confirmTrade })

if (!tradeFormButtonContext) return null
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are still refactoring trade stuff, I say testing is needed!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, sorry for that :(
There are not so much changes in the existed code, anyway, there are

shoom3301 added 6 commits June 5, 2023 19:13
… feat/2417

# Conflicts:
#	src/modules/limitOrders/containers/LimitOrdersWidget/index.tsx
…into feat/2417-2

# Conflicts:
#	src/modules/advancedOrders/containers/AdvancedOrdersWidget/index.tsx
#	src/modules/limitOrders/containers/TradeButtons/index.tsx
#	src/modules/twap/containers/TwapFormWidget/index.tsx
… feat/2417-2

# Conflicts:
#	src/modules/limitOrders/containers/TradeButtons/index.tsx
#	src/modules/tradeFormValidation/index.ts
@shoom3301 shoom3301 changed the base branch from feat/2417-1 to develop June 6, 2023 08:07
@shoom3301 shoom3301 merged commit bccacb6 into develop Jun 6, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2023
@alfetopito alfetopito deleted the feat/2417-2 branch June 6, 2023 08:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify trade form state services
3 participants